<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false" trimDirectiveWhitespaces="true" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<c:if test="${not poll and empty param.partial}"><jsp:include page="../header.jsp" /></c:if>
<h1 class="wi">微博</h1>
<div>
<dl class="feed_list feed ">
                <dd class="content">
                    <dl class="comment">
                        <a href="<c:url value="/user/user_info/${currentStatus.status.user_id}" />">
                            <c:out value="${currentStatus.status.user_name}"/></a>:
                        <em><c:out value="${currentStatus.status.text}"/></em>
                        </dt>
                        <dd><span><a href="<c:url value="/user/status_info_${currentStatus.status.status_id}/retweet/0/${currentStatus.status.status_id}?text=转发微博"/>">转发</a>(<c:out value="${currentStatus.count.retweet_count}"/>)<i class="W_vline">|</i><a href="#" >评论</a>(<c:out value="${currentStatus.count.comment_count}"/>)</span><c:out value="${currentStatus.status.pubtime}"/>
                        </dd>
                    </dl>
                </dd>
                <form action="<c:url value="/user/status_info_${currentStatus.status.status_id}/retweet/1/${currentStatus.status.status_id}" />" method="GET">
                <div class="send_weibo" node-type="wrap">
                    <div><textarea style="height: 55px;width: 540px;" node-type="textEl" name="text" title="微博输入框" tabindex="1"></textarea></div>
                    <div class="btn"><input type="submit" name="" value="评论"/></div>
                </div>
                </form>
                <div class="feed_lists" node-type="feed_list">
                    <c:forEach items="${comment_statuses}" var="status">
                        <dl class="feed_list feed ">
                            <dd class="content">
                                <dl class="comment">
                                    <a href="<c:url value="/user/user_info/${status.user_id}" />">
                                        <c:out value="${status.user_name}"/></a>:
                                    <em><c:out value="${status.text}"/></em>
                                    </dt>
                                    <dd><span><c:if test="${status.user_id eq user.user_id}"><a href="<c:url value="/user/status_info_${currentStatus.status.status_id}/delete/${status.status_id}"/>">删除</a></c:if> <a href="<c:url value="/user/status_info_${currentStatus.status.status_id}/retweet/0/${status.status_id}?text=转发微博"/>">转发</a> </span><c:out value="${status.pubtime}"/>
                                    </dd>
                                </dl>
                            </dd>
                            <dd class="clear"></dd>
                        </dl>
                    </c:forEach>
                </div>
                <dd class="clear"></dd>
            </dl>
            </div>
<c:if test="${not poll and empty param.partial}"><jsp:include page="../footer.jsp" /></c:if>
